package com.bs.domain;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ServiceInfo {
    private String service;
    private double execTime;
    private String logmsg;
    private long count;
    private String time;
    private String partition;
    private String uid;
    private HashMap<String, Long> hashMap;
    public ServiceInfo() {
    }

    public ServiceInfo(String service, double execTime, String logmsg, long count, String time, String partition,String uid) {
        this.service = service;
        this.execTime = execTime;
        this.logmsg = logmsg;
        this.count = count;
        this.time = time;
        this.partition = partition;
        this.uid = uid;
    }

    public ServiceInfo(String service, long count, String partition) {
        this.service = service;
        this.count = count;
        this.partition = partition;
    }

    public ServiceInfo(String time, long count) {
        this.time = time;
        this.count = count;
    }

        public ServiceInfo(String service, double execTime) {
        this.service = service;
        this.execTime = execTime;
    }

        public ServiceInfo(String service, double execTime, String logmsg, String partition) {
        this.service = service;
        this.execTime = execTime;
        this.logmsg = logmsg;
        this.partition = partition;
    }


    public ServiceInfo(String service, String time, double execTime, String partition, String logmsg) {
        this.service = service;
        this.execTime = execTime;
        this.time = time;
        this.partition = partition;
        this.logmsg = logmsg;
    }

        public ServiceInfo(String service, String time, double execTime, String partition) {
        this.service = service;
        this.execTime = execTime;
        this.time = time;
        this.partition = partition;
    }

    public ServiceInfo(String partition, String time, long count) {
        this.time = time;
        this.partition = partition;
        this.count = count;
    }

    public ServiceInfo(String service, HashMap<String, Long> hashMap) {
        this.service = service;
        this.hashMap = hashMap;
    }




    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public double getExecTime() {
        return execTime;
    }

    public void setExecTime(double execTime) {
        this.execTime = execTime;
    }

    public String getLogmsg() {
        return logmsg;
    }

    public void setLogmsg(String logmsg) {
        this.logmsg = logmsg;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getPartition() {
        return partition;
    }

    public void setPartition(String partition) {
        this.partition = partition;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public HashMap<String, Long> getHashMap() {
        return hashMap;
    }

    public void setHashMap(HashMap<String, Long> hashMap) {
        this.hashMap = hashMap;
    }

    @Override
    public String toString() {
        return "ServiceInfo{" +
            "service='" + service + '\'' +
            ", execTime=" + execTime +
            ", logmsg='" + logmsg + '\'' +
            ", count=" + count +
            ", time='" + time + '\'' +
            ", partition='" + partition + '\'' +
            ", uid='" + uid + '\'' +
            '}';
    }
}
